
<div id="ShowColumns" style="position:absolute; z-index:1; visibility: hidden; width: 250; left: 1px; top: 1px;"> 
    <form name="tcol" onsubmit="return false">
        <table width="100%" border="0" cellpadding="0" cellspacing="3" class="LayerFormat">
              <tr> 
                  <td class="TitleLayerFormat">Display columns:</td>
                  <td align="right" class="TitleLayerFormat"><a href="javascript:;"><img src="../html/images/gRAD/Icon_Close.gif" width="13" height="13" border="0" onClick="MM_showHideLayers('ShowColumns','','hide','Filter','','hide')"></a></td>
              </tr>
              <tr> 
                <td><span class="ShowColumnsLayer">
                    <%  for (int i = 0; i < theElements.getNumberOfColumns(); i++){
                            String displayMessage = theElements.getHeaderTitle(i);
                            if (displayMessage != null){
                                if (!displayMessage.equals("")){ %>
                                <input type="checkbox" name="col<%=i%>" onclick="toggleVis(this.name)" class="checkBoxColumn" checked>
                                <%=displayMessage%><br>
<%                              }
                            }
                        }%>
                </span></td>
              </tr>
              <tr> 
                <td>

            </td>
              </tr>
            </table>
    </form>
</div>
